package com.huike.mapper;

import com.huike.clues.domain.Activity;
import com.huike.clues.domain.dto.ActivityDTO;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface ActivityMapper {
    List<Activity> selectActivity(ActivityDTO activityDTO);

    int addActivity(Activity activity);

    List<Activity> selectByChannel(Long channel);

    Activity selectById(Long id);

    int updateById();

    int batchDelete(List ids);
}
